import { createStore } from 'vuex'

export default createStore({
  state: {
    name:'二狗',
  },
  getters:{
    name:state => state.name,
  },
  mutations: {
    changeName(state,name) {
      state.name = name;
    },
  },
  actions: {
  },
  modules: {
  }
})
